package com.ruoyi.app.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.app.domain.AppHtPoints;

/**
 * 积分记录Mapper接口
 *
 * @author ruoyi
 * @date 2025-01-09
 */
@Mapper
public interface AppHtPointsMapper extends BaseMapper<AppHtPoints> {
    /**
     * 查询积分记录
     *
     * @param id 积分记录主键
     * @return 积分记录
     */
    public AppHtPoints selectAppHtPointsById(Integer id);

    /**
     * 查询积分记录列表
     *
     * @param appHtPoints 积分记录
     * @return 积分记录集合
     */
    public List<AppHtPoints> selectAppHtPointsList(AppHtPoints appHtPoints);

    /**
     * 新增积分记录
     *
     * @param appHtPoints 积分记录
     * @return 结果
     */
    public int insertAppHtPoints(AppHtPoints appHtPoints);

    /**
     * 修改积分记录
     *
     * @param appHtPoints 积分记录
     * @return 结果
     */
    public int updateAppHtPoints(AppHtPoints appHtPoints);

    /**
     * 删除积分记录
     *
     * @param id 积分记录主键
     * @return 结果
     */
    public int deleteAppHtPointsById(Integer id);

    /**
     * 批量删除积分记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAppHtPointsByIds(Integer[] ids);
}

